#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2023/11/14 17:38
# @Author  : 作者名
# @Site    :

from .basehandler import BaseHandler
import logging


class IndexHandler(BaseHandler):
    def get(self):
        print("redis==", self.redis)
        logging.info("infro=========")
        logging.error("error=========")
        self.set_cookie("one", "two", expires_days=10)
        self.set_secure_cookie("aaaab", "d")
        self.get_secure_cookie("aaaab")
        self.write('tornado!!hkjh99')
